package util;

import java.awt.Color;

public class Settings {
	private int numNodes = 60;
	private int numRandomConnections = 70;
	private Color backColor = Color.WHITE;
	private Color frontColor = Color.BLACK;
	private Color selectedColor = Color.RED;
	private String seed = "asiysdfo";
	
	public static Settings getInstance() {
		return instance;
	}

	/**
	 * Single instance created upon class loading.
	 */
	private static final Settings instance = new Settings();

	/**
	 * Private constructor prevents construction outside this class.
	 */

	public int getNumNodes() {
		return numNodes;
	}

	public void setNumNodes(int numNodes) {
		this.numNodes = numNodes;
	}

	public int getNumRandomConnections() {
		return numRandomConnections;
	}

	public void setNumRandomConnections(int numConnections) {
		this.numRandomConnections = numConnections;
	}

	public Color getFrontColor() {
		return frontColor;
	}

	public void setFrontColor(Color frontColor) {
		this.frontColor = frontColor;
	}

	public Color getBackColor() {
		return backColor;
	}

	public void setBackColor(Color backColor) {
		this.backColor = backColor;
	}

	public Color getSelectedColor() {
		return selectedColor;
	}

	public void setSelectedColor(Color selectedColor) {
		this.selectedColor = selectedColor;
	}

	public String getSeed() {
		return seed;
	}

	public void setSeed(String seed) {
		this.seed = seed;
	}
}
